<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %>	
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:th="http://www.thymeleaf.org">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>简历登记</title>
    <link href="static/css/tail.css" rel="stylesheet" type="text/css" />
    <link href="static/css/bootstrap.min.css" rel="stylesheet" type="text/css" />
	<style>
        .tree_left{box-sizing:border-box;overflow-y: auto;width:19%;border: 1px #c1d3de solid;margin-right: 1%;border-top:none;}
        .tree_left h6,.tree_right h6{line-height: 30px;font-weight: bold;padding-left: 6px ;color: #000;font-size: 14px}
        .tree_left_top{margin: 6px}
        .tree_input input{border: 1px #ccc solid;margin:3px 0 0 10px;border-radius: 4px;
        }
        .layui-layer-title{background:url(images/righttitlebig.png) repeat-x;font-weight:bold;color:#46647e; border:1px solid #c1d3de;height: 33px;line-height: 33px;}
        .tabe_bot label{width: 70px;text-align: right;font-size: 14px;font-weight: 900;color: #46647e}
        .l_left{float: left}
        .tabe_bot input,.tabe_bot  select{width: 180px;height: 30px;border-radius: 6px;margin:0 20px 0 0;border: none;border: 1px #ccc solid}
        .tabe_btn{width: 60px;height: 30px;background-color: #68b86c;border: none;border-radius: 6px;color: #fff}

        div#rMenu {position:absolute; visibility:hidden; top:0; background-color: #99c9db;text-align: left;padding: 2px;z-index: 999}
        div#rMenu ul li{ margin: 1px 0;padding: 5px 15px;cursor: pointer;list-style: none outside none;background-color: #5a8cc4;color: #fff  }
        div#rMenu ul li:hover{color: #000;background-color: #ccc}
        #rMenu ul{margin: 0;padding: 0};
        .ztree_add_div {
            width:200px;
            height:100px;
            border:1px solid #cccccc;
            padding-top:10px;
            padding-bottom:10px;
            display:none;



        }
        
        /*文件上传*/
			.cs  input{ vertical-align:middle; margin:0; padding:0}
         .file-box{ position:relative;width:50px}
         .txt{ height:20px; border:1px solid #cdcdcd; width:130px;}*/
       .btn{ background-color:#FFF; border:1px solid #CDCDCD;height:24px; width:70px;}
         .files{ position:absolute; top:0; right:80px; height:24px; filter:alpha(opacity:0);opacity: 0;width:260px }
        
        .ztree_add_div p {

            padding-bottom:10px;
            padding-top:10px;
        }
		.bt {
				margin-top: 10px;
				width: 300px;
			}
		.btnn{width: 40px;height: 24px;background-color: #68b86c;border: none;border-radius: 6px;color: #fff;}	
        .bot_btn .btn{width: 40px;height: 24px;background-color: #68b86c;border: none;border-radius: 6px;color: #fff;margin-right: 15px;}
        .bot_btn .btn1{background-color: #c1d3de;border: none;border-radius: 6px;color: #000;margin-right: 0}
        .bot_btn{width: 100%;height: 30px;font-size:13px;text-align:center;}
        #department{
        	margin-left: 25px;
        }
    </style>
    <script type="text/javascript" src="static/js/jquery.js"></script>
    <script>
        function change() {
            var height01 = $(window).height();
            $(".top").css('height', height01 - 35+"px");
        }
    </script>
</head>
<body style="border-radius: 8px" onload="Personload()">
<input type="text" id="path" hidden="hidden" name="path" value="${pageContext.request.contextPath }"/>
<div class="title"><h2>招聘管理》简历管理》简历登记</h2></div>
<form id="myForm" name="myForm" method="post" action="${pageContext.request.contextPath }/rt_resumeaddSave.html" enctype="multipart/form-data">
<div class="top">
    <div>
        <div class="top_out">
            <table class="table" >
                <tbody>
                	<tr>
                    <td>应聘职位名称：</td>
                    <td  style="text-align: left"><input type="text"  readonly="readonly" name="rt_post" id="rt_post"/>
                    	<input type="text" hidden="hidden"  name="postId" id="postId" value=""/>
                    	<span><img onclick="openlayer()" src="${pageContext.request.contextPath }/static/img/u=2067561964,964120144&fm=26&gp=0.jpg" height="23px" width="23px"/></span>
                    </td>
                    <td>应聘职位编码：</td>
                    <td colspan = "3" style="text-align: left"><input type="text" readonly="readonly" name="rt_positionCode" id="rt_positionCode" value=""></td>
                    <td>职位分类：</td>
                    <td colspan = "3" style="text-align: left"><input type="text" readonly="readonly" id="rt_pclassification" name="rt_pclassification" value=""></td>
                </tr>
                	<tr>
                    <td>姓名：</td>
                    <td  style="text-align: left"><input type="text" name="name" id="name" value=""></td>
                    <td>性别：</td>
                    <td colspan = "3" style="text-align: left">
                   	 <select name="gender" id="gender">
        						<option value="3">--请选择--</option>
					    		<option value="0">女</option>
								<option value="1">男</option>
                   		</select></td>
                   <td>招聘类型：</td>
                    <td colspan = "3" style="text-align: left"><select id="recritmentType" name="recritmentType">
                    	<option value="0">-请选择-</option>
                        <option value="1">社会招聘</option>
                        <option value="2">校园招聘</option>
                    </select></td>
                </tr>
                <tr>
                    <td>EMAIL：</td>
                    <td  style="text-align: left"><input type="text" name="email" id="email" value=""></td>
                    <td>联系电话：</td>
                    <td colspan = "3" style="text-align: left"><input type="text" name="phone" id="phone" value=""></td>
                    <td>户口所在地：</td>
                    <td colspan = "3" style="text-align: left"><input type="text" name="raddress" id="raddress" value=""></td>
                </tr>
                 <tr>
                    <td>住址：</td>
                    <td  style="text-align: left"><input type="text" name="location" id="location" value=""></td>
                    <td>政治面貌：</td>
                    <td colspan = "3" style="text-align: left"><select name="politics" id="politics">
                    <option value="0">--请选择--</option>
					    		<option value="2">团员</option>						
								<option value="1">群众</option>
                    </select></td>
                </tr>
                 <tr>
                    <td>身份证号：</td>
                    <td  style="text-align: left"><input type="text" name="IDCard" id="IDCard" value="" ></td>
                    <td>毕业院校：</td>
                    <td colspan = "3" style="text-align: left"><input type="text" name="graduate" id="graduate" value=""></td>
                    <td>学历：</td>
                    <td colspan = "3" style="text-align: left"><select name="education" id="education">
                    		<c:if test="${dtList != null }">
						   <option value="0">--请选择--</option>
						   <c:forEach var="dt" items="${dtList}">
						   		<option value="${dt.id}">${dt.educations}</option>
						   </c:forEach>
						</c:if>
                    </select></td>
                </tr>
                <tr>
                    <td>专业：</td>
                    <td  style="text-align: left"><input type="text" name="major" id="major" value=""></td>
                    <td>工作经验：</td>
                    <td colspan = "3" style="text-align: left"><input type="text" name="workExperience" id="workExperience" value=""></td>
                    <td>薪资要求：</td>
                    <td colspan = "3" style="text-align: left"><input type="text" name="demands" id="demands" value=""></td>
                </tr>
                <tr>
                    <td>是否在职：</td>
                    <td colspan = "3" style="text-align: left"><select name="isoffice" id="isoffice">
                    	<option value="0">-请选择-</option>
                        <option  value="1">离职</option>
                        <option  value="2">在职</option>
                    </select></td>
                    <td>是否应届毕业生：</td>
                    <td colspan = "3" style="text-align: left"><select name="isgraduate" id="isgraduate">
                    		<option  value="0">-请选择-</option>
                        <option  value="1">是</option>
                        <option  value="2">否</option>
                    </select></td>
                    <td>登记时间：</td>
                    <td colspan = "3" style="text-align: left"><input type="text" id="registraTime" name="registraTime" value=""></td>
                </tr>
                <tr>
                    <td style="line-height: 180px">个人履历：</td>
                    <td colspan = "10" style="text-align: left"><textarea  id="note" style="width: 100%;height: 200px" name="record" id="record" value=""></textarea></td>
                </tr>
                <tr>
                    <td>简历附件：</td>
                    <td  style="text-align: left">
                		<input type='file' name='a_attachmen' id='a_attachmen'/>
                		</td>
						<!-- <td> <input type='button' class='btn' value='上传附件' />
						 <input type="file" name="fileField" class="files" id="fileField" size="28" onchange="document.getElementById('attachmen').value=this.value" /> 
					</td>  -->
                </tr>
                 <tr>
                    <td>是否推荐面试：</td>
                     <td colspan = "3" style="text-align: left"><select name="interview" id="interview">
                    	<option value="0">-请选择-</option>
                        <option value="1">是</option>
                        <option value="2">否</option>
                    </select></td>
                    <td>推荐人：</td>
                    <td colspan = "3" style="text-align: left"><input type="text" name="recritmentName" id="recritmentName" value=""></td>
                    <td>推荐时间：</td>
                    <td colspan = "3" style="text-align: left"><input type="text" id="recritmentdate" name="recritmentdate" value=""></td>
                </tr>
                 <tr>
	               	<td>推荐面试意见:</td>
	               	<td colspan = "10" style="text-align: left"><input type="text" id="opinions" name="opinions" value="${ res.opinions}" style="width: 100%;height: 100px"></td>
	               </tr> 
                </tbody>
            </table>
        </div>
    </div>
    <div class="bot_btn">
        <input class="btn" type="submit" value="保存"  name="resumeadd" id="resumeadd"/>
        <button class="btn btn1"><a href="#" onClick="javascript :history.back(-1);" target="right">返回</a></button>
    </div>
 </form>
<div id="layerOpen" hidden="hidden">
     <div class="bt">
		   	 <button type="button" class="btnn" id="close">确定</button>
		     <button class="btnn" onClick="javascript :history.back(-1);" target="right">返回</button>
	 </div>
    <table id="open" class="table_style"></table>
</div>


</body>

<script type="text/javascript" src="${pageContext.request.contextPath }/static/js/jquery.js"></script>
<script src="${pageContext.request.contextPath }/static/js/recruitment/resumeadd.js"></script>
<script src="${pageContext.request.contextPath }/static/js/recruitment/open.js"></script>
<script src="${pageContext.request.contextPath }/static/js/bootstrap.min.js"></script>
<script src="${pageContext.request.contextPath }/static/js/bootstrap-table.js"></script>
<script src="${pageContext.request.contextPath }/static/js/bootstrap-table-zh-CN.min.js"></script>
<script src="${pageContext.request.contextPath }/static/js/date/js/laydate.js"></script>
<script src="${pageContext.request.contextPath }/static/js/layer_v2.1/layer/layer.js"></script>


<script src="static/js/date/js/laydate.js"></script>
<script>
    var PROJECTID, TASKTYPE, TASKPHASE,  PERSONID
    !function () {
        laydate.skin('danlan');//切换皮肤，请查看skins下面皮肤库
        laydate({ elem: '#registraTime' });//绑定元素
        laydate({ elem: '#recritmentdate' });
        laydate({ elem: '#demo2' });//绑定元素
    }();
   
</script>

</html>